package com.tracesystem.controller.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class ChangePasswordForm {
    @NotNull
    @ApiModelProperty("旧密码")
    private String oldpass;
    @NotNull
    @ApiModelProperty("新密码")
    private String pass;
    @NotNull
    @ApiModelProperty("新密码第二次判断")
    private String checkPass;
    @Min(0)
    @ApiModelProperty("用户id")
    private Integer userId;

}
